package lab02.test16;

public class Test16 {
    public static void main(String[] args) {

        //加法输出
        Sum sum = new Sum();
        System.out.println("加法运算：1+2=" + sum.calulate(1, 2));

        //减法运算
        Sub sub = new Sub();
        System.out.println("减法运算：6-2=" + sub.calulate(6, 2));

        //乘法运算
        Multiplication multiplication = new Multiplication();
        System.out.println("乘法运算：3*4=" + multiplication.calulate(3, 4));

        //除法运算
        Division division = new Division();
        System.out.println("除法运算：9/3=" + division.calulate(9, 3));
    }
}
